<include file="Public:header" />
<script src="__PUBLIC__/js/PCASClass.js" type="text/javascript"></script>
<div class="container">
	<!-- Docs nav ================================================== -->

	<include file="Public:alert" />

	<div class="row">	

		<div class="span12">
            <ul class="nav pull-left">
                <volist name="list" id="taste">
                    <li class="pull-left" customer-id="{$taste.customer_id}" taste-id="{$taste.id}">
                        <table class="table" width="95%" border="0" cellspacing="1" cellpadding="0">
                            <tbody>
                            <tr>
                                <td class="tdleft">
                                    试吃客户名称：
                                </td>
                                <td>
                                    <a href="{:U('customer/view', 'id='.$taste['customer_id'])}">{$taste.name}</a>
                                </td>
                                <td class="tdleft">
                                    试吃原因：
                                </td>
                                <td>
                                    {$taste.reason}
                                </td>
                                <td class="tdleft">
                                    试吃人数：
                                </td>
                                <td>
                                    {$taste.taster_num}
                                </td>
                                <td class="tdleft">
                                    试吃商品：
                                </td>
                                <td>
                                    {$taste.product}
                                </td>
                                <td class="tdleft">
                                    试吃收货地址：
                                </td>
                                <td>
                                    {$taste.delivery_address}
                                </td>
                            </tr>

                            <tr>
                                <td class="tdleft">
                                    收货人姓名：
                                </td>
                                <td>
                                    {$taste.contact_name}
                                </td>
                                <td class="tdleft">
                                    收货人联系电话：
                                </td>
                                <td>
                                    {$taste.phone_number}
                                </td>
                                <td class="tdleft">
                                    配送时间：
                                </td>
                                <td>
                                    {$taste.delivery_time}
                                </td>
                                <td class="tdleft">
                                    备注：
                                </td>
                                <td colspan="2">
                                    {$taste.memo}
                                </td>
                                <td>
                                    <span style="color: blue;">试吃状态：</span>
                                    <if condition="$taste.status eq '0'">
                                        <input type="button" name="pass" value="通 过" />
                                        <input type="button" name="unpass" value="不通过" />
                                    </if>
                                    <if condition="$taste.status eq '1'">
                                        已通过
                                    </if>
                                    <if condition="$taste.status eq '2'">
                                        未通过
                                    </if>
                                </td>
                            </tr>
                            </tbody>
                        </table>
                    </li>
                </volist>
                <li class="pull-left">{$page}</li>
            </ul>
		</div>
	</div>
</div>
<div class="hide" id="dialog-import" title="{:L('IMPORT_DATE')}">loading...</div>
<div class="hide" id="dialog-role-info" title="{:L('EMPLOYEE_INFORMATION')}">loading...</div>
<div class="hide" id="dialog-fenpei" title="{:L('DISTRIBUTION_OF_CUSTOMERS')}">loading...</div>
<div class="hide" id="dialog-assign" title="{:L('DISTRIBUTION_OF_CUSTOMERS')}">loading...</div>
<div class="hide" id="dialog-share" title="客户共享">loading...</div>
<script type="text/javascript">

</script>
<include file="Public:footer" />